package com.thinkingcoder.tcsharding.strategy;

import java.util.List;
import java.util.Map;

public interface ShardingStrategy {

    List<String> getShardingColumns();

    // 根据传入条件，获取分库/分表策略执行的结果
    String doSharding(List<String> availableTargetNames, String logicTableName, Map<String, Object> shardingParams);

}
